package com.gxl.design.strategypattern.strategy;

public class CashEquivalent implements Strategy {
    @Override
    public Double doOperation(Integer price) {
        Double d = Double.valueOf(price - 20);
        System.out.println("代金券优惠后的价格: " + d);
        return d;
    }
}
